// B2005 write by cn_ryh
#include <iostream>
#include <cmath>
#include <cstdio>
#include <cstring>
using namespace std;

int main()
{
    char a;
    cin >> a;
    cout << "  " << a << "  " << endl;
    cout << " " << a << a << a << " " << endl;
    cout << a << a << a << a << a << endl;
    return 0;
}